package base.exa18;

import java.io.Console;

public class ConsoleStudy {
    public static void main(String[] args) {
        Console console = System.console();
        System.out.print("UserName: ");
        String user = console.readLine();
        char[] password = console.readPassword("passowrd:");
        System.out.println(password);
    }
}
